﻿using System;
using SqlSugar;

namespace NP.BPMReportPlatform.Entities.BPM_Platform
{
    ///<summary>
    ///岗位人员关系
    ///</summary>
    [SugarTable("UserPositionRelations")]
    public partial class UserPositionRelations
    {
        public UserPositionRelations()
        {
        }

        /// <summary>
        /// Desc:主键
        /// Default:
        /// Nullable:False
        /// </summary>           
        public Guid UserPositionRelationId { get; set; }

        /// <summary>
        /// Desc:岗位Id
        /// Default:
        /// Nullable:False
        /// </summary>           
        public Guid PositionId { get; set; }

        /// <summary>
        /// Desc:用户Id
        /// Default:
        /// Nullable:False
        /// </summary>           
        public Guid UserId { get; set; }

        /// <summary>
        /// Desc:是否主岗
        /// Default:
        /// Nullable:False
        /// </summary>           
        public bool PrimaryPosition { get; set; }

        /// <summary>
        /// Desc:开始日期
        /// Default:
        /// Nullable:False
        /// </summary>           
        public DateTime StartDate { get; set; }

        /// <summary>
        /// Desc:结束日期
        /// Default:
        /// Nullable:False
        /// </summary>           
        public DateTime EndDate { get; set; }

        /// <summary>
        /// Desc:是否有效
        /// Default:
        /// Nullable:False
        /// </summary>           
        public bool IsActive { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string F1 { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string F2 { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string F3 { get; set; }
    }
}